package com.bw.attendance.sign

import com.bw.attendance.sign.entity.SignEntity
import com.bw.attendance.sign.entity.SignResponseEntity
import kotlinx.coroutines.flow.Flow
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiService {

    //签到接口
    @POST("sign/insertSign")
    fun requestInsertSign(@Body body:RequestBody):Flow<SignResponseEntity>
    //查询签到接口
    @POST("sign/selSign")
    fun requestSelSign(@Body body:RequestBody):Flow<SignEntity>
}